package com.icesnowsun.app.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import ncme.auto.framework.core.entities.AutoBaseEntity;
import ncme.auto.framework.core.annotations.entity.*;
import ncme.auto.framework.core.annotations.*;
import ncme.auto.framework.core.mybatisExtend.typeHandler.DateTypeHandler;

import java.util.Date;

@TableName("user_user")
public class User extends AutoBaseEntity {

    @VerifyRepetitionField
    @TableField(value = "`username`")
    private String username;

    @AllowNull
    @VerifyRepetitionField
    @TableField(value = "`password`")
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
